package com.pdd.commons.enums;

/**
 * @author:liyangpeng
 * @date:2019/5/7 17:42
 */
public enum ResponseErrorEnum {
    ADD_PIC_CONTENT_ERROR("C0001","添加图片内容失败"),
    INDEX_ACCESS_ERROR("C0002","首页请求失败");
    String code;
    String message;

    ResponseErrorEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
